package com.ruoyi.project.sdi.sdiDocDefine.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * 票据类型对象 sdi_doc_define
 *
 * @author XQ.XU
 * @date 2020-03-20
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "sdi_doc_define")
public class SdiDocDefine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** EHT */
    private Long estHandleTime;

    /** 快捷键 */
    @Excel(name = "快捷键")
    private String accelerateKey;

    /** 借贷标志 */
    @Excel(name = "借贷标志")
    private Long cdFlag;

    /** 交易码 */
    @Excel(name = "交易码")
    private String txnCde;

    /** 强补 */
    @Excel(name = "强补")
    private Long forceDataInput;

    /** 是否主件 */
    @Excel(name = "是否主件")
    private Integer mainPage;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String sdiFilePath;

    /** 主键 */
    @TableId(value = "id")
    private String id;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 序号 */
    private Long indexNo;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 业务类型 */
    private String largeBusiness;

    /** 有信封 */
    private Long hasEnvelop;

    /** 批次类型 */
    private String arcType;

    /** 文档类型 */
    private String docType;

    /** 模板名称 */
    private String templateName;

    /** 特殊标记 */
    private String special;

    /** 备注 */
    private String classification;

    /** SLID_XML */
    private String slidXml;

    /** B_XML */
    private String businessXml;

    @TableField(exist = false)
    private String docDefineDesc;

    public String getDocDefineDesc() {
        return code+":"+name;
    }
}
